﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    @{
        var settings = SettingsHelper.GetSiteSettings();
    }
    <!--title>@settings.SiteTitle - @ViewBag.Title</title-->
    <!--meta name="description" content="@settings.SiteDescription" /-->
    <!--meta name="keywords" content="@settings.SiteKeywords" /-->
    @RenderSection("metaElements", false)
    <meta name="og:site_name" content="@settings.SiteTitle" />
    <meta name="og:title" content="@settings.SiteTitle" />
    <meta name="og:description" content="@settings.SiteDescription" /-->
    <meta name="og:url" content="http://www.elinirschool.co.il" />
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Helpers.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/PublicLayout.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/JqueryUIfixes.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.6.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jQuery.tmpl.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.tools.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Site.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PublicLayout.js")" type="text/javascript"></script>
    @RenderSection("headElements", false)
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-18775122-4']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
</head>
<body>
    <div class="page publicLayout">
        <div id="header">
            <a href="@Url.Action("Index", "Home")">
                <img src="@Url.Content("~/Content/images/newLayout/header.jpg")" alt="אליניר סקול כותרת ספרי מחזור"/>
            </a>
        </div>
        <div id="content">
            @Html.Partial("Menu")
            <div id="contentContainer">
                <div id="rightPanel">
                    <div id="editorLoginPanel">
                        @using (Html.BeginForm("", "", FormMethod.Post, new { id = "frmEditorLoginMain" }))
                        {
                            <div class="title">
                                כניסה</div>
                            <div class="value">
                                @Html.TextBox("OrderNum")
                            </div>
                            <div class="label">
                                (הקלד מספר הזמנה)
                            </div>
                            <input type="submit" id="btnGoToLogin" data-url="@Url.Action("EditorLogin", "Users")" value="" />
                            <div id="orderNumNotExists" class="hidden">
                            </div>
                        }
                    </div>
                    <a class="sideButton" href="@Url.Action("Contact", "Home")">
                        <img src="@Url.Content("~/Content/images/newLayout/sideButtons/priceOffer.jpg")" /></a>
                    <a class="sideButton" href="@Url.Action("Contact", "Home")">
                        <img src="@Url.Content("~/Content/images/newLayout/sideButtons/contact.jpg")" /></a>
                </div>
                <div id="mainPanel">
                    <div class="top">
                    </div>
                    <div class="bottom">
                    </div>
                    <div class="left">
                    </div>
                    <div class="right">
                    </div>
                    <div class="leftTop">
                    </div>
                    <div class="leftBottom">
                    </div>
                    <div class="rightTop">
                    </div>
                    <div class="rightBottom">
                    </div>
                    @RenderBody()
                </div>
                <div id="leftPanel">
                    <a class="sideButton" href="@Url.Action("HowItWorks", "About")">
                        <img src="@Url.Content("~/Content/images/newLayout/sideButtons/howItWorks.jpg")" /></a>
                    <a class="sideButton" href="@Url.Action("WorthToNotice", "About")">
                        <img src="@Url.Content("~/Content/images/newLayout/sideButtons/tips.jpg")" /></a>
                    <a class="sideButton" href="#">
                        <img src="@Url.Content("~/Content/images/newLayout/sideButtons/elinirCovers.jpg")" /></a>
                    <a href="@Url.Action("Contact", "Home")" id="contactDetails">
                    </a>
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <div id="footer">
            <a href="@Url.Action("Index", "About")">אודות אליניר</a> | 
            <a href="http://www.digitalprint.co.il/%D7%A1%D7%A4%D7%A8%D7%99-%D7%9C%D7%99%D7%9E%D7%95%D7%93">ספרי לימוד</a> | 
            <a href="http://www.itsmylife.co.il">Its my Life</a> | 
            <a href="http://togo.digitalprint.co.il/info.asp?m=-815662833">כרטיסי ביקור</a> | 
            <a href="http://www.digitalprint.co.il/%D7%A4%D7%AA%D7%A8%D7%95%D7%A0%D7%95%D7%AA">ניירת משרדית</a> | 
            <a href="http://togo.digitalprint.co.il/info.asp?m=1562363266">מגנטים</a> | 
            <a href="http://www.digitalprint.co.il/%D7%A4%D7%AA%D7%A8%D7%95%D7%A0%D7%95%D7%AA">קאפות</a> | 
            <a href="http://www.digitalprint.co.il/%D7%9E%D7%A2%D7%A8%D7%9A-%D7%94%D7%93%D7%A4%D7%A1%D7%94">הבלטות</a> | 
            <a href="http://www.digitalprint.co.il/%D7%9E%D7%A2%D7%A8%D7%9A-%D7%94%D7%93%D7%A4%D7%A1%D7%94"> גליטרים</a>
        </div>
    </div>
    <div id="divMainDialog">
    </div>
    <div id="divConfirmDialog" class="hidden publicLayout">
        <div id="divDialogMessage">
            האם אתה בטוח?</div>
        <div id="divDialogButtons">
            <input type="button" id="btnDialogYes" value="כן" class="submitButton" />
            <input type="button" id="btnDialogNo" value="לא" class="submitButton" />
        </div>
    </div>
    <script type="text/javascript">
        //save the prefix that should be on the URL paths (according to the root of the application) - to support developer and production enviornment
        var pathPrefix = '@Url.Action("Index", "Home")';

        var userId = null;
        @if (UserHelper.IsLogon())
        {
            <text>userId = @UserHelper.CurrentUser().UserId;</text>
        }
    </script>
</body>
</html>
